package com.zyg.demo.entity;

import android.support.v7.widget.RecyclerView;

import com.zyg.demo.listener.AnimatorListener;

/**
 * @author zhengyunguang
 * created at 2019-07-10 16:33
 */
public class AnimItem {

    public RecyclerView.ViewHolder viewHolder;
    public int pos;
    public float scale;
    private AnimatorListener animatorListener;

    public AnimItem(int pos) {
        this.pos = pos;
    }

    public AnimItem(RecyclerView.ViewHolder mViewHolder, int pos) {
        this.viewHolder = mViewHolder;
        this.pos = pos;
    }

    public void setAnimatorListener(AnimatorListener animatorListener) {
        this.animatorListener = animatorListener;
    }

    public float getScale() {
        return scale;
    }

    public void setScale(float scale) {
        this.scale = scale;
    }
}
